package c.b.a.a.a.a;

import android.os.IBinder;
import android.os.IInterface;

public abstract class c extends d implements a {
    public static a x0(IBinder iBinder) {
        if (iBinder == null) {
            return null;
        }
        IInterface queryLocalInterface = iBinder.queryLocalInterface("com.android.vending.billing.IInAppBillingService");
        return queryLocalInterface instanceof a ? (a) queryLocalInterface : new b(iBinder);
    }
}
